how to wire automatic transfer switch